<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <meta name="keywords" content="keywords">
    <meta name="description" content="description">
</head>
<body>
<script>
    for (let a=1;a<=9;a++){
        for (let b=1;b<=a;b++) {
            document.write(`${b}×${a}=${String(a*b).padStart(2,' ')}&nbsp;&nbsp;&nbsp;&nbsp;`)
        }
        document.write('<br>')
    }
    document.write('<br>')
    for (let a=9;a>=1;a--){
        for (let b=1;b<=a;b++) {
            document.write(`${b}×${a}=${String(a*b).padStart(2,' ')}&nbsp;&nbsp;&nbsp;&nbsp;`)
        }
        document.write('<br>')
    }
</script>
</body>
</html>
